package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfGoodsTypeDao;
import com.wfcm.entity.WfGoodsTypeEntity;
import com.wfcm.service.WfGoodsTypeService;



@Service("wfGoodsTypeService")
public class WfGoodsTypeServiceImpl implements WfGoodsTypeService {
	@Autowired
	private WfGoodsTypeDao wfGoodsTypeDao;
	
	@Override
	public WfGoodsTypeEntity queryObject(Integer id){
		return wfGoodsTypeDao.queryObject(id);
	}
	
	@Override
	public List<WfGoodsTypeEntity> queryList(Map<String, Object> map){
		return wfGoodsTypeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfGoodsTypeDao.queryTotal(map);
	}
	
	@Override
	public void save(WfGoodsTypeEntity wfGoodsType){
		wfGoodsTypeDao.save(wfGoodsType);
	}
	
	@Override
	public void update(WfGoodsTypeEntity wfGoodsType){
		wfGoodsTypeDao.update(wfGoodsType);
	}
	
	@Override
	public void delete(Integer id){
		wfGoodsTypeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfGoodsTypeDao.deleteBatch(ids);
	}
	
}
